package com.hzspace.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * @Author: LiuHao
 * @Descirption: Spring配置 扫描除去@Controller注解的 代替spring.xml
 * @Date: 2020/2/25_19:33
 */
@Configuration
@ComponentScan(basePackages = "com.hzspace", useDefaultFilters = true,
        excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION, classes = Controller.class)})
public class SpringConfig {


}
